// src/store/reducers/article.reducer.js
const initialValue = {}

export default function (state = initialValue, action) {
    switch (action.type) {
        case 'loadArticlesSuccess':
            return {
                articles: action.payload
            }
        default:
            return state
    }
}